#ifndef __WINDOW_H_API__
#define __WINDOW_H_API__
//--------------------------------------------------------------------------------
#include <Windows.h>
//--------------------------------------------------------------------------------
#include "Defines.h"
//--------------------------------------------------------------------------------
namespace MegaEngine
{
	class ENGINE_API Window
	{

	public:

		Window(HINSTANCE hInstance);
		~Window();

		bool createWindow(unsigned int uiWidth, unsigned int uiHeight, HWND & hWnd);
		bool SetWindowTitle(char* lpString);
		HWND GetWindowHandle();
		
	private:
		wchar_t * title;
		// cosas de Windows
		HWND winHandle;
		HINSTANCE hInstance;

	};
	//--------------------------------------------------------------------------------
	LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	//--------------------------------------------------------------------------------
}

#include "Window.inl"

#endif //WINDOW_H